﻿@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bootstrap

@using Microsoft.AspNetCore.Mvc.RazorPages
@using Volo.Abp.AspNetCore.Mvc.UI.Layout
@using Volo.CmsKit.Public.Web.Pages.CmsKit.Shared.Components.Contents
@model Volo.CmsKit.Public.Web.Pages.CmsKit.Shared.Components.Pages.PageViewModel
@inject IPageLayout PageLayout

@{
    PageLayout.Content.Title = Model.Title;
}

<abp-card>
    <abp-card-body>
        @await Component.InvokeAsync(typeof(ContentViewComponent), 
            new
            {
                entityType = nameof(Page),
                entityId = Model.Id.ToString()
            })
    </abp-card-body>
</abp-card>
